package org.edu.modules.logistics.bx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-a-低耗品管理
 */
@TableName("ve_houqin_haopin")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="a-低耗品管理对象", description="ve_houqin_haopin")
public class VeHqHaopin extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "物品编号")
    @Length(max = 50)
    private String code;

    @TableField
    @ApiModelProperty(value = "物品名称")
    @Length(max = 50)
    private String name;

    @TableField
    @ApiModelProperty(value = "物品描述")
    @Length(max = 500)
    private String remark;

    @TableField
    @ApiModelProperty(value = "物品状态")
    private Integer status;

    @TableField
    @ApiModelProperty(value = "计划使用年限")
    @Length(max = 20)
    private String jhsynx;

    @TableField
    @ApiModelProperty(value = "物品单价")
    private BigDecimal wpdj;

    @TableField
    @ApiModelProperty(value = "品牌")
    @Length(max = 200)
    private String wppp;

    @TableField
    @ApiModelProperty(value = "使用状态 0 正常  1报废")
    private Integer useStatus;

    @TableField
    @ApiModelProperty(value = "是否租借 0否 1是")
    private Integer sfzj;

    @TableField
    @ApiModelProperty(value = "更新人")
    @Length(max = 36)
    private String updateBy;

    @TableField
    @ApiModelProperty(value = "更新时间")
    private Timestamp updateDate;

    @TableField
    @ApiModelProperty(value = "更新人")
    @Length(max = 100)
    private String updateName;
}
